    package com.qingyun.edusysteam.mapper;

    import com.qingyun.edusysteam.vo.StudentInfoVO;
    import com.qingyun.edusysteam.entity.Student;
    import com.baomidou.mybatisplus.core.mapper.BaseMapper;
    import org.apache.ibatis.annotations.Mapper;
    import org.apache.ibatis.annotations.Param;

    import java.util.List;

    /**
     * <p>
     * 学生表 Mapper 接口
     * </p>
     *
     * @author your_name
     * @since 2025-08-23
     */
    @Mapper
    public interface StudentMapper extends BaseMapper<Student> {

        // 根据教师ID查询其名下学生；可选keyword按姓名模糊
        List<StudentInfoVO> studentInfo(@Param("teacherId") Long teacherId,
                                        @Param("keyword") String keyword);

    }
